package com.xidian.zhiancloud.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 　　* @program zhiancloud
 * 　　* @author Egoist
 * 　　* @create 2021/2/28 16:00
 *
 */
@Data
@TableName(value = "t_code")
public class Code {
    /**
     *   id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 多租户id
     */
    private Long companyId;

    /**
     * 危化品入库id
     */
    private Integer dangerousChemicalStorageCode;

    /**
     * 危化品出库id
     */
    private Integer dangerousChemicalOutCode;

    /**
     * 废弃物入库id
     */
    private Integer wasteStorageCode;

    /**
     * 废弃物出库id
     */
    private Integer wasteOutCode;

    public Code() {
    }

    public Code(Integer dangerousChemicalStorageCode, Integer dangerousChemicalOutCode, Integer wasteStorageCode, Integer wasteOutCode) {
        this.dangerousChemicalStorageCode = dangerousChemicalStorageCode;
        this.dangerousChemicalOutCode = dangerousChemicalOutCode;
        this.wasteStorageCode = wasteStorageCode;
        this.wasteOutCode = wasteOutCode;
    }
}
